home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000031_simon@lia.di.epfl.ch_Thu Oct 7 14:49:52 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from liasun6.epfl.ch by cs.umb.edu with SMTP id AA03909
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 7 Oct 1993 14:49:52 -0400
  3. Received: by liasun6.epfl.ch (Smail3.1.28.1 #52)
  4.     id m0ol0PN-0002P3C; Thu, 7 Oct 93 19:49 MET
  5. Message-Id: <m0ol0PN-0002P3C@liasun6.epfl.ch>
  6. Date: Thu, 7 Oct 93 19:49 MET
  7. From: simon@lia.di.epfl.ch (Simon Leinen)
  8. To: tex-k@cs.umb.edu
  9. Subject: configure and Makefile problems (patches follow)
  10.  
  11. The recent releases of dvipsk-5.519a and xdvik-1.2 seem to have broken
  12. support for the very useful --srcdir option to configure.  For those
  13. who don't know it, this option allows you to configure into an empty
  14. directory, which is useful if you compile for different systems -
  15. basically it saves you the work of making shadow trees of symbolic
  16. links.  Since I found this to be such a neat feature, I decided to fix
  17. it for tex-k.
  18.  
  19. Unfortunately this revealed some problems in the configure process;
  20. for example, when you call configure in a sub-directory, you have to
  21. pass the --srcdir option with the *source* directory of the subdir as
  22. an argument.  What's worse, you cannot just call config.status from
  23. one directory in another directory because if you do, the ${srcdir}
  24. variable will be wrong.  Because of this, I had to change the very
  25. last part of the top-level configure.in to configure kpathsea just
  26. like the program subdirectories.  This means that the whole
  27. configuration process takes a bit longer, but I think my version is
  28. more robust.  The other changes I had to make were largely concerned
  29. with ${srcdir}/ prefixes being used in the wrong place or not used
  30. where they should have been.
  31.  
  32. The other small problem I had was that the Makefiles sometimes assume
  33. that people have `.' in their path, which is not the case for
  34. everybody.
  35.  
  36. Please consider the patches in the following messages.  I have tested
  37. them with and without the --srcdir feature on some "exotic" systems
  38. (Solaris 2.2, IRIX 5.1.1), and with the *really* exotic pathname
  39. convention used at our site, and it worked, but of course I may still
  40. have gotten something wrong.
  41. -- 
  42. Simon.